<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <div style="margin-top: 50px;">
        <span>我是首页</span>
        <button onclick="next()">跳转中转页面</button>
    </div>
    <script>
        function next() {
            window.location.href = './next.html'
        }
    </script>
</body>
</html>